$(document).ready(function() {
	
	function doAjaxPost() {
		
		alert("llego");
		
	    // get the form values
	    var nombre = $('#nombre').val();
	    var numero = $('#numero').val();
	    var estado = $('select[name="estado"]').val();
	    var balance = $('#balance').val();
	    
	    alert(estado);
/* 
	    $.ajax({
	        type: "POST",
	        url: contexPath + "/AddUser.htm",
	        data: "name=" + name + "&education=" + education,
	        success: function(response){
	            // we have the response
	            if(response.status == "SUCCESS"){
	                userInfo = "<ol>";
	                for(i =0 ; i < response.result.length ; i++){
	                    userInfo += "<br><li><b>Name</b> : " + response.result[i].name +
	                    ";<b> Education</b> : " + response.result[i].education;
	                 }
	                 userInfo += "</ol>";
	                 $('#info').html("User has been added to the list successfully. " + userInfo);
	                 $('#name').val('');
	                 $('#education').val('');
	                 $('#error').hide('slow');
	                 $('#info').show('slow');
	             }else{
	                 errorInfo = "";
	                 for(i =0 ; i < response.result.length ; i++){
	                     errorInfo += "<br>" + (i + 1) +". " + response.result[i].code;
	                 }
	                 $('#error').html("Please correct following errors: " + errorInfo);
	                 $('#info').hide('slow');
	                 $('#error').show('slow');
	             }
	         },
	         error: function(e){
	             alert('Error: ' + e);
	         }
	    });*/
	}

	
	
});